翻訳と辞書
Words near each other
・ expansion slot
・ expect
・ experiment description language
・ experimental lisp
・ experimental physics control systems
・ experimental programming language
・ expert judgement models
・ expert system
・ expert systems ltd.
・ explicit parallelism
explicit type conversion
・ exploit
・ exploratory data analysis
・ exponent
・ exponential
・ exponential-time
・ exponential-time algorithm
・ express
・ expression
・ expression tree


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

explicit type conversion : FOLDOC
explicit type conversion
(Or "cast" in C and elsewhere). A programming construct (syntax) to specify that an expression's value should be converted to a different type.
For example, in C, to convert an integer (usually 32 bits) to a char (usually 8 bits) we might write:
int i = 42;
char *p = &buf;
*p = (char) i;

The expression "(char)" (called a "cast") converts i's value to char type. Casts (including this one) are often not strictly necessary, due to automatic coercions performed by the compiler, but can be used to make the conversion obvious and to avoid warning messages.
(1999-09-19)



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.